import { createApp } from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store"
import Particles from "particles.vue3"
import * as utils from "./assets/common/utils"
import echarts from "./assets/common/echarts"
import axios from "./assets/common/request"
import * as ossUpload from "./assets/common/oss-upload"

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App);

// 全局挂载
app.config.globalProperties.$util = utils;
app.config.globalProperties.$echarts = echarts
app.config.globalProperties.$urls = "https://myxbxcx.justdoget.cn"
app.config.globalProperties.imgUrl = "https://imgzh.kmmyxb.cn/"
app.config.globalProperties.$axios = axios;
app.config.globalProperties.$ossUpload = ossUpload;

app.use(ElementPlus)
app.use(router).use(store).use(Particles).mount("#app")
